package com.fare.taluo.io.excel;

import java.io.File;
import java.io.InputStream;
/**
 * Excel文件导入
 * @author xiangsf 2013-05-12
 *
 */
public interface IImportExcel {
	/**
	 * 从输入流中读取Excel数据
	 * @param is
	 * @return
	 */
	public Object readExcel(InputStream is) throws ExcelImportException;
	/**
	 * 从已知文件中读取Excel数据
	 * @param is
	 * @return
	 */
	public Object readExcel(File file) throws ExcelImportException;
}
